package com.lx.service.impl;

import com.lx.mapper.MenuMapper;
import com.lx.service.MenuService;
import com.lx.vo.MenuVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MenuServiceImpl implements MenuService {
    @Autowired
    private MenuMapper menuMapper;

    @Override
    public List<MenuVo> showMenus() {
        List<MenuVo> menuVos = menuMapper.selectMenus();
        return menuVos;
    }
}
